package cn.ibobo.lease.common.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户点金券领用表实体类DTO
 * @Author lililiang
 * @Date 2018-12-13 18:36:40
 */

@Data
@EqualsAndHashCode(callSuper=false)
@ApiModel("用户点金券领用表实体类DTO")
public class UserCouponDTO {

	@ApiModelProperty(value = "id", required = false)
	private String id;
	@ApiModelProperty(value = "会员id", required = false)
	private String uid;
	@ApiModelProperty(value = "点金券id", required = false)
	private String cid;
	@ApiModelProperty(value = "金额", required = false)
	private BigDecimal money;
	@ApiModelProperty(value = "0 增加  1 使用  -1 过期", required = false)
	private Integer status;
	@ApiModelProperty(value = "领取时间", required = false)
	private String createtm;
    @ApiModelProperty(value = "会员名称，查询结果", required = false)
    private String nickname;
    @ApiModelProperty(value = "点金券名称，查询结果", required = false)
    private String cname;
	@ApiModelProperty(value = "使用的商家", required = false)
	private String bid;
	@ApiModelProperty(value = "商家名称", required = false)
	private String bname;
	@ApiModelProperty(value = "会员id数组", required = false)
	private String[] uidList;
	@ApiModelProperty(value = "类型，0用户领取，1平台发放，2充值赠送，3租赁赠送，4线上购物赠送，5线下购物赠送， 6线下购物使用", required = false)
	private Integer type;
	@ApiModelProperty(value = "充值记录id/租赁记录id/线上购物订单id", required = false)
	private String busId;
	@ApiModelProperty(value = "店铺折扣比，0.4表示4折,0.45表示4.5折", required = false)
	private BigDecimal ratio;
	@ApiModelProperty(value = "预计总金额", required = false)
	private BigDecimal totalMoney;
}
